﻿<%@ Page Title="" Language="C#" MasterPageFile="~/BasicBase/BasicBase.master" AutoEventWireup="true"
    CodeFile="FireProjectMainStat.aspx.cs" Inherits="BasicBase_FireProject_FireProjectMainStat"
    StylesheetTheme="Content" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <ul class="topmenu">
        <li>
            <asp:DropDownList ID="ddlYear" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlYear_SelectedIndexChanged">
            </asp:DropDownList>
            年
            <asp:DropDownList ID="ddlMonth" runat="server" OnSelectedIndexChanged="ddlMonth_SelectedIndexChanged"
                AutoPostBack="True">
            </asp:DropDownList>
            月</li>
    </ul>
    <asp:GridView ID="gvStat" GridLines="Both" BorderWidth="1" runat="server" AutoGenerateColumns="False"
        BorderColor="#CEE7F7" RowStyle-BorderColor="#CEE7F7" OnRowDataBound="gvStat_RowDataBound"
        Caption="<span>灭火预案统计</span>" ShowFooter="True">
        <Columns>
            <asp:BoundField DataField="FullName" HeaderText="单位" ItemStyle-BorderColor="#CEE7F7">
                <ItemStyle BorderColor="#CEE7F7" Width="20%"></ItemStyle>
            </asp:BoundField>
            <asp:TemplateField HeaderText="总数">
                <ItemTemplate>
                    <asp:HyperLink runat="server" ID="HyAll"></asp:HyperLink>
                </ItemTemplate>
                <ItemStyle BorderColor="#CEE7F7" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="本月总数">
                <ItemTemplate>
                    <asp:HyperLink runat="server" ID="HyMothAll"></asp:HyperLink>
                </ItemTemplate>
                <ItemStyle BorderColor="#CEE7F7" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="添加">
                <ItemTemplate>
                    <asp:Label runat="server" ID="lblDepartmentid" Visible="false" Text='<%# Eval("DepartmentID") %>'></asp:Label>
                    <%--<asp:Label ID="lblAdd" runat="server"></asp:Label>--%>
                    <asp:HyperLink runat="server" ID="HyAdd"></asp:HyperLink>
                </ItemTemplate>
                <ItemStyle BorderColor="#CEE7F7" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="更新">
                <ItemTemplate>
                      <asp:HyperLink runat="server" ID="HyUpdate"></asp:HyperLink>
                </ItemTemplate>
                <ItemStyle BorderColor="#CEE7F7" />
            </asp:TemplateField>
        </Columns>
        <RowStyle HorizontalAlign="Center" BorderColor="#CEE7F7" />
    </asp:GridView>
</asp:Content>
